#ifndef FPS_MEASURER_H
#define FPS_MEASURER_H

#include <Windows.h>

class FPSMeasurer
{
public:

	FPSMeasurer(void);
	~FPSMeasurer(void);
	
	void measure();
	void print();

	inline DWORD getTotalDT() 
	{
		return accumulatedMilliseconds;
	}

protected:

	DWORD accumulatedMilliseconds;
	DWORD lastMeasurementMilliseconds;
	int numberOfMeasurements;

};

#endif